package com.yygo.dao;

import com.yygo.model.LoanRequest;
import com.yygo.model.Prepayment;
import com.yygo.model.User;

import java.util.List;

/**
 * Created by tiansha on 2015/11/7.
 */
public interface PrepaymentDao extends GenericDao<Prepayment, Long> {

    List<Prepayment> getPendingPrepayments(User user);

    Prepayment getPrepayment(LoanRequest loanRequest);

}
